package com.xiaomaoguai.spring.aop.jdk;

/**
 * @ ClassName: Test.java
 * @ Author: WeiHui-Z
 * @ Date: 2017/1/10 19:18
 * @ Version: v1.0.0
 */
public class Test {

	public static void main(String[] args) {
		IMath math = (IMath) new DynamicProxy().getProxyObject(new Math());
		int n1 = 100, n2 = 5;
		math.add(n1, n2);
		math.sub(n1, n2);
		math.mut(n1, n2);
		math.div(n1, n2);
	}
}
